package com.yywq.controller;

import com.yywq.response.CommonReturnType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 吴磊
 * @program: yywq_parent
 * @create: 2021-04-14 11:46
 */

/**
 * 此类方法全部都需要验证是否登录
 */
@RestController
public class ServiceController {

    @RequestMapping("/test")
    public CommonReturnType test() {
        return CommonReturnType.create("欢迎");
    }
}
